package com.ioftv.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.Data;

import java.io.Serializable;

/**
 * 标注员拉框记录Excel导入导出DTO
 */
@Data
public class LabelerBoxRecordExcelDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 标注员ID
     */
    @ExcelProperty(value = "标注员ID", index = 0)
    private Long labelerId;

    /**
     * 标注员姓名
     */
    @ExcelProperty(value = "标注员姓名", index = 1)
    private String labelerName;

    /**
     * 今日拉框总数
     */
    @ExcelProperty(value = "今日拉框总数", index = 2)
    private Integer todayBoxCount;

    /**
     * 提交时间
     */
    @ExcelProperty(value = "提交时间(格式:2025-01-15 14:30:25)", index = 3)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String submitTime;

    /**
     * 是否达标
     */
    @ExcelProperty(value = "是否达标(填数字:0-未达标,1-达标)", index = 4)
    private Integer isStandard;

    /**
     * 达标标准值
     */
    @ExcelProperty(value = "达标标准值", index = 5)
    private Integer standardValue;

    /**
     * 记录日期
     */
    @ExcelProperty(value = "记录日期(格式:2025-01-15)", index = 6)
    @DateTimeFormat("yyyy-MM-dd")
    private String recordDate;
}